package com.gpy.hospital.reception.service;

import com.github.pagehelper.PageInfo;
import com.gpy.hospital.cms.pojo.Doctor;
import com.gpy.hospital.cms.vo.DoctorVo;
import com.gpy.hospital.common.ServerResponse;

import java.util.List;

public interface IDoctorService {
    List<Doctor> getDoctor();

    PageInfo<Doctor> getByDoctorName(String doctorName, Integer pageNum, Integer pageSize);

    Doctor getById(Integer doctorId);

    ServerResponse saveDoctor(DoctorVo doctorVo);

    List<Doctor> getByKeShiId(Integer keshiId);

    ServerResponse delete(Integer doctorId);
}
